package com.lzx.iteam.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2017年 01月 11日
 * Time: 上午11:10
 *
 * @QQ : 1234567890
 * **********************************
 */
public class SalaryMemberSalaryBean implements Serializable {

    private String user_name;
    private String _id;
    private String base_salary;
    private float pension_base;
    private float medical_base;
    private float provident_fund_base;

    private SalaryFieldBean[] salary_fields;
    private LinkedHashMap<String,SalaryFieldBean> fieldList;

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getBase_salary() {
        return base_salary == null ? "0":base_salary;
    }

    public void setBase_salary(String base_salary) {
        this.base_salary = base_salary;
    }

    public SalaryFieldBean[] getSalary_fields() {
        return salary_fields;
    }

    public void setSalary_fields(SalaryFieldBean[] salary_fields) {

        this.salary_fields = salary_fields;
    }

    public float getPension_base() {
        return pension_base;
    }

    public void setPension_base(float pension_base) {
        this.pension_base = pension_base;
    }

    public float getMedical_base() {
        return medical_base;
    }

    public void setMedical_base(float medical_base) {
        this.medical_base = medical_base;
    }

    public float getProvident_fund_base() {
        return provident_fund_base;
    }

    public void setProvident_fund_base(float provident_fund_base) {
        this.provident_fund_base = provident_fund_base;
    }

    public LinkedHashMap<String, SalaryFieldBean> getFieldList() {
        return fieldList;
    }

    public void setFieldList(LinkedHashMap<String, SalaryFieldBean> fieldList) {
        this.fieldList = fieldList;
    }

    @Override
    public String toString() {
        return "SalaryMemberSalaryBean{" +
              "user_name='" + user_name + '\'' +
              ", _id='" + _id + '\'' +
              ", base_salary='" + base_salary + '\'' +
              ", salary_fields='" + salary_fields + '\'' +
              '}';
    }
}
